from rest_framework import serializers
from . import models

class Cateserializers(serializers.ModelSerializer):

    class Meta:
        model=models.Cate
        fields='__all__'


class Goodserializers(serializers.ModelSerializer):

    class Meta:
        model=models.Goods
        fields='__all__'